package com.trex.modules.utils;

import java.util.List;
import java.util.Map;

public class TableData {
    private String name;
    private List<String> columnNames;
    private List<String> dataTypes;
    private List<String> captions;
    private List<Map<String, Object>> rows;

    // Constructor
    public TableData(String name, List<String> columnNames, List<String> dataTypes, List<String> captions, List<Map<String, Object>> rows) {
        this.name = name;
        this.columnNames = columnNames;
        this.dataTypes = dataTypes;
        this.captions = captions;
        this.rows = rows;
    }

    // Getters
    public String getName() {
        return name;
    }

    public List<String> getColumnNames() {
        return columnNames;
    }

    public List<String> getDataTypes() {
        return dataTypes;
    }

    public List<String> getCaptions() {
        return captions;
    }

    public List<Map<String, Object>> getRows() {
        return rows;
    }
}
